﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartsRankList.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.PartsModel.PartsRankList" %>

<form id="pagerForm" method="post" action="PartsModel/PartsRankList.aspx">
<input type="hidden" name="CardName" value="<%=CardName %>" />
    <input name="RankYear" type="hidden" value="<%=RankYear %>"  />
<input type="hidden" name="orderField" value="<%=orderField %>" />
<input type="hidden" name="orderDirection" value="<%=orderDirection %>" />
<input type="hidden" name="pageNum" value="1" />
<input type="hidden" name="numPerPage" value="<%=numPerPage %>" />
</form>
<form id="form1" runat="server" method="post" action="PartsModel/PartsRankList.aspx" onsubmit="return navTabSearch(this);">
<div class="pageHeader">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    经销商： <input name="CardName" type="text" value="<%=CardName %>"  />
                </td>
                 <td>
                    所属年份： <input name="RankYear" type="text" value="<%=RankYear %>"  />
                </td>
                <td>
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
        
    </div>
</div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">     
              <% if (HasPower(IHISCETeim.Web.Permission.新增)){%>    
            <li><a class="add" href="PartsModel/PartsRankEdit.aspx?Action=add" target="dialog"  title="新增考核定级"><span>新增</span></a></li>
            <%} %>
              <% if (HasPower(IHISCETeim.Web.Permission.修改)){%>    
             <li><a class="edit" href="PartsModel/PartsRankEdit.aspx?Action=edit&rid={sid_user}" target="dialog"  title="修改考核定级"><span>修改</span></a></li>
            <%} %>
               <% if (HasPower(IHISCETeim.Web.Permission.删除))
                   {%>    
            <li><a class="delete" href="PartsModel/PartsRankList.aspx?ajaxmethod=delete&rid={sid_user}" target="ajaxTodo" title="确定要删除吗?"><span>删除此考核定级记录</span></a></li>
            <%} %>
        </ul>
    </div>
    <asp:repeater id="rpMenu" runat="server">
        <HeaderTemplate>
        <table class="table" width="100%" layouth="115">
        <thead>
            <tr  > 
                 <th   width="100px">
                    所属年份
                </th>               
                <th   width="100px">
                    经销商代码
                </th>
                <th   width="150px">
                    名称
                </th>
                  <th   width="100px">
                    定级
                </th>
                <th >
                    备注
                </th>               
                       
            </tr>
        </thead>
        <tbody>
        </HeaderTemplate>
        <ItemTemplate>
            <tr target="sid_user" rel="<%# Eval("RID") %>">  
                <td><%# Eval("RankYear")%></td>          
				<td><%# Eval("CardCode")%></td>
				<td ><%# Eval("CardName")%></td>             
                <td><%# Eval("Rank")%></td>
				<td><%# Eval("Remark") %></td>			
			</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
         </table>
        </FooterTemplate>
    </asp:repeater>
    <div class="panelBar">
        <div class="pages">
            <span>显示</span>
            <select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
               <%=SetnumPerPage() %>
            </select>
            <span>条，共<%=TotalCount%>条</span>
        </div>
        <div class="pagination" targettype="navTab" totalcount="<%=TotalCount%>" numperpage="<%=numPerPage %>"
            pagenumshown="10" currentpage="<%=pageNum %>">
        </div>
    </div>
</div>
</form>
